
package com.xoa.service.nccloud.impl;


import com.xoa.dao.ncclound.NccPostVMapper;
import com.xoa.model.nccloud.NccPostV;
import com.xoa.service.nccloud.NccPostVService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Service
public class NccPostVServiceImpl implements NccPostVService {

    @Resource
    private NccPostVMapper nccPostVMapper;

    public NccPostV getNccPostVById(Long id)throws Exception{
        return nccPostVMapper.getNccPostVById(id);
    }

    public List<NccPostV>	getNccPostVListByMap(Map<String,Object> param)throws Exception{
        return nccPostVMapper.getNccPostVListByMap(param);
    }

    public Integer getNccPostVCountByMap(Map<String,Object> param)throws Exception{
        return nccPostVMapper.getNccPostVCountByMap(param);
    }

    public Integer itriptxAddNccPostV(NccPostV nccPostV)throws Exception{

            return nccPostVMapper.insertNccPostV(nccPostV);
    }

    public Integer itriptxModifyNccPostV(NccPostV nccPostV)throws Exception{

        return nccPostVMapper.updateNccPostV(nccPostV);
    }

    public Integer itriptxDeleteNccPostVById(Long id)throws Exception{
        return nccPostVMapper.deleteNccPostVById(id);
    }




}
